﻿<?php
//Include the code
require_once '..\chart\phplot.php';

//Define the object
$plot = new PHPlot();

$a=array(
     array('a',3),
     array('b',5),
     array('c',7),
     array('d',8),
     array('e',2),
     array('f',6),
     array('g',7));

//print_r($a);
$plot = new PHPlot();

$plot->SetDataValues($example_data);

//Turn off X axis ticks and labels because they get in the way:
$plot->SetTitle('First Test Plot');

//Draw it
$plot->DrawGraph();
?>
